package com.jdym.mapper;

import com.jdym.entity.Loan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdym.entity.vo.loanInfo;

import java.util.List;

/**
 * <p>
 * 贷款表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
public interface LoanMapper extends BaseMapper<Loan> {
//    通过企业id查询出所有的贷款信息
//贷款审批进度
        public List<loanInfo> getLoanInfo(int firmId);

//        查找还没审批的贷款
        public List<loanInfo> selectLoanStatusis2(int firmId);
}
